package com.jstyle.blesdk.constant;

/**
 * Created by Administrator on 2018/4/10.
 */

public class DeviceKey {
    public static final String KGpsResCheck0 = "KGpsResCheck0"; // 设备时间   GET_DEVICE_Time
    public static final String KGpsResCheck1 = "KGpsResCheck1"; // 设备时间
    public static final String ECGPPGResult = "ECGPPGResult"; // 设备时间

    public static final String KFinishFlag = "finish";
    public static final String KDeviceTime = "deviceTime"; // 设备时间   GET_DEVICE_Time
    public static final String KGpsTime = "KGpsTime"; // 设备时间   GET_DEVICE_Time
    public static final String KTimeZone = "KTimeZone"; // 设备时间   GET_DEVICE_Time

    /*
     *  GET_PERSONAL_INFO
     *   sex         性别
     *   Age         年龄
     *   Height      身高
     *   Weight      体重
     *   stepLength  步长
     *   deviceId    设备ID
     */
    public static final String KUserSex = "Sex";
    public static final String KUserAge = "Age";
    public static final String KUserHeight = "Height";
    public static final String KUserWeight = "Weight";
    public static final String KUserStepLenght = "stepLength";
    public static final String KUserDeviceId = "deviceId";


    /*
     *  GET_DEVICE_INFO
     *  distanceUnit  距离单位
     *  hourState     12小时24小时显示
     *  handleEnable  抬手检查使能标志
     *  handleSign    抬手检测左右手标志
     *  screenState   横竖屏显示
     *  anceEnable    ANCS使能开关
     */
    public static final String KDistanceUnit = "distanceUnit";
    public static final String KHourState = "hourState";
    public static final String KHandleEnable = "handleEnable";
    public static final String KHandleSign = "handleSign";
    public static final String KScreenState = "screenState";
    public static final String KANCSEnable = "ancsEnable";
    public static final String KBrightnessLevel = "KBrightnessLevel";
    public static final String KBaseHeart = "baseHeart";
/*
 *  SET_STEP_MODEL
 *totalSteps   总步数
 *calories     卡路里
 *distance     距离
 *time         时间
 *heartValue   心率值
 */

    public static final String KTotalSteps = "totalSteps";
    public static final String KCalories = "calories";
    public static final String KDistance = "distance";
    public static final String KSportTime = "time";
    public static final String KHeartValue = "heartValue";
    public static final String KExerciseTime = "ExerciseTime";

    public static final String KStepGoal = "stepGoal";   // 目标步数值  GET_GOAL
    public static final String KBattery = "battery";  // 电量级别    READ_DEVICE_BATTERY
    public static final String KMacAddress = "macAddress"; // MAC地址    READ_MAC_ADDRESS
    public static final String KVersion = "Version";  // 版本号     READ_VERSION
    public static final String KDeviceName = "deviceName";  // 设备名称    GET_DEVICE_NAME

    /*
     *  GET_AUTOMIC_HEART
     *workModel         工作模式
     *heartStartHour    开始运动时间的小时
     *heartStartMinter  开始运动时间的分钟
     *heartEndHour      结束运动时间的小时
     *heartEndMinter      结束运动时间的分钟
     *heartWeek         星期使能
     *workTime          工作模式时间
     */
    public static final String KWorkModel = "workModel";
    public static final String KHeartStartHour = "heartStartHour";
    public static final String KHeartStartMinter = "heartStartMinter";
    public static final String KHeartEndHour = "heartEndHour";
    public static final String KHeartEndMinter = "heartEndMinter";
    public static final String KHeartWeek = "heartWeek";
    public static final String KWorkTime = "workTime";


    /*
     *  READ_SPORT_PERIOD
     *KSportStartHour       开始运动时间的小时
     *KSportStartMinter     开始运动时间的分钟
     *KSportEndHour         结束运动时间的小时
     *KSportEndMinter       结束运动时间的分钟
     *KSportWeekEnable      星期使能
     *KSportNotifierTime    运动提醒周期
     */
    public static final String KSportStartHour = "sportStartHour";
    public static final String KSportStartMinter = "sportStartMinter";
    public static final String KSportEndHour = "sportEndHour";
    public static final String KSportEndMinter = "sportEndMinter";
    public static final String KSportWeekEnable = "sportWeek";
    public static final String KSportNotifierTime = "sportNotifier";
    public static final String KSportMinStep = "sportMinStep";

    /*
     *  GET_STEP_DATA
     *historyDate       日期：年月日
     *historySteps      步数
     *historyTime       运动时间
     *historyDistance   距离
     *KHistoryCalories  卡路里
     *historyGoal       目标
     */
    public static final String KHistoryDate = "historyDate";
    public static final String KHistorySteps = "historySteps";
    public static final String KHistorySportTime = "historyTime";
    public static final String KHistoryDistance = "historyDistance";
    public static final String KHistoryCalories = "historyCalories";
    public static final String KHistoryGoal = "historyGoal";
    public static final String KHistoryExerciseTime= "KHistoryExerciseTime";


    /*
     *  GET_STEP_DETAIL
     *KDetailStepDate       日期：年月日时分秒
     *KDetailSteps          步数
     *KDetailCalories       卡路里
     *KDetailDistance       距离
     *KDetailMinterStep     10分钟内每一分钟的步数
     */
    public static final String KDetailStepDate = "detailDate";
    public static final String KDetailSteps = "detailSteps";
    public static final String KDetailCalories = "detailCalories";
    public static final String KDetailDistance = "detailDistance";
    public static final String KDetailMinterStep = "detailMinterStep";

    /*
     * GET_SLEEP_DETAIL
     *KSleepDate        日期：年月日时分秒
     *KSleepLength      睡眠数据的长度
     *KSleepQuantity    5分钟的睡眠质量 (总共24个数据，每一个数据代表五分钟)
     */
    public static final String KSleepDate = "sleepDate";
    public static final String KSleepLength = "sleepLength";
    public static final String KSleepQuantity = "sleepQuantity";

    /*
     *  GET_HEART_DATA
     *KHeartDate        日期：年月日时分秒
     *KHeartData        10秒一个心率值，总共12个心率值
     */
    public static final String KHeartDate = "heartDate";
    public static final String KHeartData = "heartData";


    /*
     * GET_ONCE_HEARTDATA
     *KOnceHeartDate        日期：年月日时分秒
     *KOnceHeartValue       心率值
     */
    public static final String KOnceHeartDate = "onceHeartDate";
    public static final String KOnceHeartValue = "onceHeartValue";

    /*
     *  GET_HRV_DATA
     *KHrvDate          日期：年月日时分秒
     *KHrvValue         HRV值
     *KHrvBloodValue    血管老化度值
     *KHrvHeartValue    心率值
     *KHrvTired         疲劳度
     */
    public static final String KHrvDate = "hrvDate";
    public static final String KHrvValue = "hrvValue";
    public static final String KHrvBloodValue = "hrvBloodValue";
    public static final String KHrvHeartValue = "hrvHeartValue";
    public static final String KHrvTired = "hrvTired";
    public static final String KHrvBloodHighPressure = "KHrvBloodHighPressure";
    public static final String KHrvBloodLowPressure = "KHrvBloodLowPressure";
    public static final String KHrvMoodValue = "KHrvMoodValue";
    public static final String KHrvBreathRate = "KHrvBreathRate";

    /*
     *GET_ALARM
     *KAlarmId          0到4闹钟编号
     *KAlarmType        闹钟类型
     *KAlarmHour        闹钟时间的小时
     *KAlarmMinter      闹钟时间的分钟
     *KAlarmWeekEnable  星期使能
     *KAlarmLength      长度
     *KAlarmContent     文本的内容
     */
    public static final String KAlarmId = "alarmId";
    public static final String KAlarmEnable = "KAlarmEnable";
    public static final String KAlarmType = "alarmType";
    public static final String KAlarmHour = "alarmHour";
    public static final String KAlarmMinter = "alarmMinter";
    public static final String KAlarmWeekEnable = "alarmWeek";
    public static final String KAlarmLength = "alarmLength";
    public static final String KAlarmContent = "alarmContent";


    /***********************GET_HRV_TESTDATA***************************************************/
/*
 *KBloodTestLength      数据长度
 *KBloodTestProgress    进度
 *KBloodTestValue       本次PPG获得的值
 *KBolldTestCurve       本次波型的高度
 */
    public static final String KBloodTestLength = "bloodTestLength";
    public static final String KBloodTestProgress = "bloodTestProgress";
    public static final String KBloodTestValue = "bloodTestValue";
    public static final String KBloodTestCurve = "bloodTestCurve";

    /*
     *KBloodResultPercent       反弹的百分比
     *KBloodResultRebound       平均反弹高度
     *KBloodResultMax           最大高度
     *KBloodResultRank          结果级别（1到6）
     */
    public static final String KBloodResultPercent = "bloodPercent";
    public static final String KBloodResultRebound = "bloodRebound";
    public static final String KBloodResultMax = "bloodResultMax";
    public static final String KBloodResultRank = "bloodResultRank";


    /*
     *KHrvTestProgress  进度
     *KHrvTestWidth     本次心跳的宽度
     *KHrvTestValue     心率值
     */
    public static final String KHrvTestProgress = "hrvTestProgress";
    public static final String KHrvTestWidth = "hrvTestWidth";
    public static final String KHrvTestValue = "hrvTestValue";

    /*
     *KHrvResultState   SDNN结果  如果是0,说明检测失败
     *KHrvResultAvg     SDNN平均值
     *KHrvResultTotal   总SDNN结果
     *KHrvResultCount   有效数据个数
     *KHrvResultTired   疲劳指数据
     *KHrvResultValue   心率值
     */
    public static final String KHrvResultState = "hrvResultState";
    public static final String KHrvResultAvg = "hrvResultAvg";
    public static final String KHrvResultTotal = "hrvResultTotal";
    public static final String KHrvResultCount = "hrvResultCount";
    public static final String KHrvResultTired = "hrvResultTired";
    public static final String KHrvResultValue = "hrvResultValue";


    /*
     *KDisturbState     1:开始运动   0：停止运动
     *KSlipHand         1: 带在手上   0;脱手。
     *KPPGData          PPG的波型值
     */
    public static final String KDisturbState = "disturbState";
    public static final String KSlipHand = "slipHand";
    public static final String KPPGData = "ppgData";
    
    
    /*
 *@param KLocationTime       时间：年月日时分秒
 *@param KLocationLatitude   纬度数据
 *@param KLocationLongitude  经度数据
 */

    public static final String KLocationTime = "locationTIme";
    public static final String KLocationLatitude = "locationLatitude";
    public static final String KLocationLongitude = "locationLongitude";
    public static final String KIsLocationStart = "KIsLocationStart";

    public static final String KActivityLocationTime = "ActivityLocationTIme";
    public static final String KActivityLocationLatitude = "ActivityLocationLatitude";
    public static final String KActivityLocationLongitude = "ActivityLocationLongitude";
    public static final String KActivityLocationCount = "KActivityLocationCount";
/*
 *      GET_SPORTMODEL_DATA
 *@param  KSportDate        时间：年月日时分秒
 *@param  KSportModel 运动类型
 0=Run,
 1=Cycling,
 2=Swimming,
 3=Badminton,
 4=Football,
 5=Tennis,
 6=Yoga,
 7=Medication,
 8=Dance
 
 *@param  KSportHeart       心率
 *@param  KSPortModelTime   运动时间
 *@param  KSportSteps       运动步数
 *@param  KSportSpeed       运动速度
 *@param  KSportCalories    卡路里
 *@param  KSportDistance     距离
 */

    public static final String KSportDate = "sportModelDate";
    public static final String KSportModel = "sportModel";
    public static final String KSportHeart = "sportModelHeart";
    public static final String KSPortModelTime = "sportModelTime";
    public static final String KSportSteps = "sportModelSteps";
    public static final String KSportSpeed = "sportModelSpeed";
    public static final String KSportSpeedSeconds= "KSportSpeedSeconds";
    public static final String KSportCalories = "sportModelCalories";
    public static final String KSportDistance = "sportModelDistance";

    public static final String KExerciseStep = "KExerciseStep";
    public static final String KExerciseCal = "KExerciseCal";
    public static final String KExerciseHeart = "KExerciseHeart";

    public static final String KDataID = "KDataID";
    public static final String KPhoneDataLength = "KPhoneDataLength";
    public static final String KClockLast = "KClockLast";

    public static final String KFunction_Music = "KFunction_Music";
    public static final String KFunction_Carmra = "KFunction_Carmra";
    public static final String KFunction_tel = "KFunction_tel";
    public static final String KFunction_reject_tel = "KFunction_reject_tel";

    public static final String KFunction_FindPhone = "KFunction_FindPhone";
    public static final String KEnable_exercise = "KEnable_exercise";

}
